<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>添加角色</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/bootstrap-4.6.2-dist/css/bootstrap.css">
</head>
<body style="padding: 20px">

<h2>添加角色</h2>

<form action="${pageContext.request.contextPath}/role/insert" method="post">
    <div class="form-group">
        <label for="name">角色名称：</label>
        <input type="text" class="form-control" id="name" name="name" required>
    </div>
    <div class="form-group">
        <label for="flag">角色标识：</label>
        <input type="text" class="form-control" id="flag" name="flag" required>
    </div>
    <button type="submit" class="btn btn-primary">提交</button>
    <a href="${pageContext.request.contextPath}/role/list" class="btn btn-secondary">返回</a>
</form>

</body>
</html>
